home *** CD-ROM | disk | FTP | other *** search
- #include <exec/exec.h>
- #include <stdlib.h>
- #include <stdio.h>
- #define pu putuserstring
- extern struct Library *AEBase;
- #include "dh0:code/aelib/ae_pragmas.h"
-
- void LastCommand(void);
- void end(void);
-
- main(int argc,char *argv[])
- {
- char File[200];
- if(argc!=2)
- {
- printf("\n");
- printf("OFFLINE version 1.0, written by Joseph Hodge\n");
- printf("This is a (XIM) for AmiExpress 2.1+\n");
- printf("\n");
- exit(0);
- }
- Register(argv[1][0]-'0');
- strcpy(File,argv[0]);
- StripReturn(File);
- showgfile(File);
- ShutDown();
- end();
- }
-
- void LastCommand(void)
- {
- pu("",511);
- }
- void end(void)
- {
- exit(0);
- }